<?php 
/**
 * TODO: Just draft
 * Date: 2009.02.07
 * http://framework.zend.com/wiki/display/ZFPROP/Zend_View_Helper_IndentLines
 */ 
class Clu_View_Helper_HvnAddress extends Zend_View_Helper_Abstract
{ 
    public function HvnAddress ($data)
    {
    	$address_keys = array('country_id','city_id', 'district_id', 'village_id', 
    						'city_name', 'district_name', 'village_name',
    						'address5', 'address6', 'address7', 'address8', 'address9');
		return implode(',', array_diff(clu_array_merge($address_keys,$data), array(null))); 
    } 
}
?>